<template>
    <div>
        <mt-cell title="注册暂时未开放"></mt-cell>
        <mt-button type="primary" size="large" v-on:click="login">登录</mt-button>
        <mt-button type="primary" size="large" v-on:click="goBack" plain>返回</mt-button>
    </div>
</template>

<script>
export default {
    name: 'Register',
    methods: {
        login() {
            this.$router.push('/login');
        },
        goBack() {
            this.$router.back();
        }
    }
}
</script>

<style scoped>
    div {
        padding: 100px 0 0 0;
        height: 50%;
        text-align: center;
    }
    button {
        top: 50%;
        width: 90%;
        margin: 10px 20px 0 20px;
    }
</style>